home *** CD-ROM | disk | FTP | other *** search
- DPROD(3I) Last changed: 4-13-99
-
-
- NNAAMMEE
- DDPPRROODD, QQPPRROODD - Computes double-precision or quad-precision product of
- two real numbers
-
- SSYYNNOOPPSSIISS
- DDPPRROODD (([XX==]_x,,[YY==]_y))
- QQPPRROODD (([XX==]_x,,[YY==]_y))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk, IRIX systems
-
- CF90, MIPSpro 7 Fortran 90, MIPSpro Fortran 77
-
- SSTTAANNDDAARRDDSS
- Fortran
-
- Fortran extension: QQPPRROODD
-
- DDEESSCCRRIIPPTTIIOONN
- DDPPRROODD returns the double-precision real product of its two real
- arguments. QQPPRROODD returns the quad-precision real product of its two
- real arguments. These are elemental functions. They accept the
- following arguments:
-
- _x Must be of type single-precision real or double-precision
- real. See the RETURN VALUES section for information on
- input data types and return values.
-
- The data type and kind type for single-precision,
- double-precision, and quad-precision values differ depending
- on your platform. For platform-specific information, see
- the TERMINOLOGY section of the IINNTTRROO__IINNTTRRIINN(3I) man page.
-
- _y Must be of the same type and kind type as _x.
-
- These functions evaluate _y = _x * _y.
-
- RREETTUURRNN VVAALLUUEESS
- DDPPRROODD returns the double-precision real product of two real arguments.
-
- QQPPRROODD returns the quad-precision real product of two real arguments.
-
- NNOOTTEESS
- The name of this intrinsic can be passed as an argument.
-
- EEXXAAMMPPLLEESS
- The following program calls DDPPRROODD to compute the double-precision
- product of the two real numbers 5.0 and 6.0:
-
- PROGRAM DOUBT
- REAL X,Y
- DOUBLE PRECISION Z
- X=5.0
- Y=6.0
- Z=DPROD(X,Y)
- PRINT *, Z
- STOP
- END
-
- The preceding program gives ZZ to be the double-precision number 30.0
- (or in Fortran, 30.D0).
-
- SSEEEE AALLSSOO
- _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l for the printed version of this
- man page.
-